package com.elantra.serviceImpl;

import com.elantra.dao.ElantraMenuMapper;
import com.elantra.entity.ElantraMenu;
import com.elantra.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl implements MenuService{



    @Autowired
    private ElantraMenuMapper elantraMenuMapper;

    @Override
    public List<ElantraMenu> getAll() {

        return elantraMenuMapper.selectBySign(0);
    }
}
